﻿using UnityEngine;
using System.Collections;

public class MapInfo : MonoBehaviour {
	public double minX,
		minZ,
		maxX,
		maxZ;
	public double convertX(double x){
		return (x-minX)/(maxX-minX);	
	}
	public double convertZ(double z){
		return (z-minZ)/(maxZ-minZ);
	}
}
